package leetcode.dp;

import leetcode.dp.common.DPUtils;

class Solution63 {
    public int uniquePathsWithObstacles(int[][] obstacleGrid) {
        return DPUtils.uniquePathsWithObstacles(obstacleGrid);
    }
}

public class leetcode63 {
    public static void main(String[] args) {
        Solution63 solution63 = new Solution63();
        int[][] obstacleGrid = {{0,0,0},{0,1,0},{0,0,0}};
        int[][] obstacleGrid1 = {{0,1},{0,0}};
        test63(solution63, obstacleGrid);
        test63(solution63, obstacleGrid1);
    }

    private static void test63(Solution63 solution63, int[][] obstacleGrid) {
        System.out.println(solution63.uniquePathsWithObstacles(obstacleGrid));
    }
}
